<template>
  <div>
      <div class="left">
            <router-link to='/'>首页</router-link>
            <router-link to='/my'>我的</router-link>
      </div>
      <div>
          <keep-alive>
            <router-view></router-view>
          </keep-alive>
      </div>
  </div>
</template>

<script>
export default {
    name:'index'

}
</script>

<style scoped>
    .left{
        width: 200px;
        /* background: black; */
        color:white;

    }
</style>